package yesjava;

public class Main3 {
    public static void main(String[] args) {
        try {
            fn1();
        } catch (Exception e) {
            throw new MyConnException("连接超时，请检查。。。。。。",e);
        }

    }


    public static void fn1() throws Exception {
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        throw new Exception("普通异常");
    }


}

// 异常出现的时候，1 异常名字 2 提示信息 3 堆栈信息
